import sympy

# 解二元一次方程
x,y=sympy.symbols('x y')
f=[
    2*x-y-3,
    3*x+y-7
]
res=sympy.solve(f,[x,y])
sympy.pprint(res)
